/**
 * SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
 * SPDX-License-Identifier: Mulan PSL v2
 */
exports.check = function () {
    // return true;
    return false;
};

exports.mockData = function () {
    return {
        "code": "0000000", "msg": "suceess", "success": true, "data": {
            list: [
                {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }, {
                    "name": "datalake_pulsar",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "datalake_latest",
                    "children": [
                        {
                            "name": "http_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        },
                        {
                            "name": "dns_log",
                            "children": [
                                {
                                    "name": "id (int)"
                                },
                                {
                                    "name": "age (string)"
                                }
                            ]
                        }
                    ]
                }
            ],
            tables: {
                "datalake_latest.http_log": ["id", "name", "age"],
                "datalake_latest.dns_log": ["id", "name", "age"]
            },
            "inputTips": {
                "datalake_lates": ['http_log', 'dns_log'],
                "test1": ['test2', 'test3']
            }
        }

    }
};
